;(function (w,undefined){
    $.fn.lazyload = function(realUrl){
        let minTop = $(window).height() + $(window).scrollTop()
        this.each((i,item)=>{
            if ($(item).offset().top<=minTop){
            item.src = item.getAttribute(realUrl)
            }
        })
    }
})(window)
